package com.general.framework.core.schema;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("下拉框模型")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SelectModel<T> {

    @ApiModelProperty("ID")
    private T value;

    @ApiModelProperty("名称")
    private String label;

}
